package com.cn.mmd.mapper;

import com.cn.mmd.model.Student;
import com.cn.mmd.model.StudentWork;
import com.cn.mmd.model.StudentWorkExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StudentWorkMapper {
    int countByExample(StudentWorkExample example);

    int deleteByExample(StudentWorkExample example);

    int insert(StudentWork record);

    int insertSelective(StudentWork record);

    List<StudentWork> selectByExample(StudentWorkExample example);

    int updateByExampleSelective(@Param("record") StudentWork record, @Param("example") StudentWorkExample example);

    int updateByExample(@Param("record") StudentWork record, @Param("example") StudentWorkExample example);

    StudentWork selectBy(StudentWork studentWork);

    int selectByCount(StudentWork studentWork);

    int updateBy(StudentWork studentWork);

    List<StudentWork> selectByStuId(StudentWork studentWork);

    int countLimitNums(StudentWork studentWork);

    int deleteBySchoolWork(StudentWork studentWork);
}